<?php
$size = getimagesize('D:\Documents\Pictures\image1.png');
var_dump($size);